package com.itheima.service;

import com.itheima.domain.Member;

import java.util.List;
import java.util.Map;

/**
 * @author Zhang_Han
 * @version 1.0
 * @date 2020/10/9 19:27
 */

public interface MemberService {

    //根据手机号查询是不是会员;
    Member findByTelephone(String telephone);

    //添加数据;
    void add(Member member);

    //根据月份查询;
    List<Long> findCountByMonths(List<String> monthsList);

    //运营数据统计
    Map getBusinessReportData();

    //统计会员的男女比例;
    Map genderCount();

    //查询套餐预约占比;
    Map getSetmealReport();
}
